<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="title">
	<s:a href="/admin/labelList.html" cssClass="parent fl"><s:text name="admin.labelList.title" /></s:a>
	<s:label cssClass="parent fl"  value=">" />
	<s:label cssClass="current fl" key="admin.labelAdd.title" />
	<s:a href="/admin/labelList.html" cssClass="back fr">
		[<s:text name="common.button.back" />]
	</s:a>
	<div class="clear"></div>
	<hr class="title" />
</div>
<s:form action="doLabelAdd" method="post" theme="simple">
	<s:token />
	<div>
		<div class="fr cr ft w500">
			<div class="w300"></div>
		</div>
		<div class="clear table">
			<%-- 页面提示信息 --%>
			<div class="row">
				<div class="cell-label"></div>
				<div class="cell-text fieldError h30">
					<s:actionerror />
				</div>
			</div>
			<%-- 标签文本 --%>
			<s:if test="labelLang1 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.labelList.labelText" />(<s:property value="labelLang1" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="labelBean.labelText1" cssClass="w240" />
					</div>
					<div class="fieldError w300">
						<s:fielderror fieldName="msg.labelText1" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang2 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.labelList.labelText" />(<s:property value="labelLang2" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="labelBean.labelText2" cssClass="w240" />
					</div>
					<div class="fieldError w300">
						<s:fielderror fieldName="msg.labelText2" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang3 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.labelList.labelText" />(<s:property value="labelLang3" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="labelBean.labelText3" cssClass="w240" />
					</div>
					<div class="fieldError w300">
						<s:fielderror fieldName="msg.labelText3" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang4 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.labelList.labelText" />(<s:property value="labelLang4" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="labelBean.labelText4" cssClass="w240" />
					</div>
					<div class="fieldError w300">
						<s:fielderror fieldName="msg.labelText4" />
					</div>
				</div>
			</s:if>
			<s:if test="labelLang5 != null">
				<div class="row">
					<div class="cell-label w80">
						<s:text name="admin.labelList.labelText" />(<s:property value="labelLang5" />):
					</div>
					<div class="cell-text w240">
						<s:textfield name="labelBean.labelText5" cssClass="w240" />
					</div>
					<div class="fieldError w300">
						<s:fielderror fieldName="msg.labelText5" />
					</div>
				</div>
			</s:if>
			<%-- 起止时间 --%>
			<div class="row">
				<div class="cell-label"><s:text name="admin.labelList.startDate" />:</div>
				<div class="cell-text">
					<s:textfield name="startDate" cssClass="w240" />
				</div>
				<div class="fieldError w300">
					<s:fielderror fieldName="msg.startDate" />
				</div>
			</div>
			<div class="row">
				<div class="cell-label"><s:text name="admin.labelList.endDate" />:</div>
				<div class="cell-text">
					<s:textfield name="endDate" cssClass="w240" />
				</div>
				<div class="fieldError w300">
					<s:fielderror fieldName="msg.endDate" />
				</div>
			</div>
			<%-- 按钮 --%>
			<div class="row">
				<div class="cell-label"></div>
				<div class="cell-button">
					<s:submit name="save" method="save" key="common.button.save" cssClass="button3" />
				</div>
				<div class="fieldError w300">
				</div>
			</div>
		</div>
	</div>
	<div class="clear"></div>
</s:form>